package com.mac.sskj.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;


/**
 * @Created：2020-06-28
 * @Author zhangshoucang
 * @Version:1.0
 * @Description:Test
 * @Email:303417292@qq.com
*/
@TableName("test")
public class Test implements Serializable
{
	private static final long serialVersionUID = 1L;


	/**
	 * 指定自增策略,  设置后，insert方法后，返回id
	 */
	@TableId(value = "id",type = IdType.AUTO)
	private Integer id;

	/**
	 * name
	 */
	private String name;

	/**
	 * age
	 */
	private Integer age;

	public Integer getId()
	{
		return id;
	}
	public void setId(Integer id)
	{
		this.id = id;
	}
	public String getName()
	{
		return name;
	}
	public void setName(String name)
	{
		this.name = name;
	}
	public Integer getAge()
	{
		return age;
	}
	public void setAge(Integer age)
	{
		this.age = age;
	}
	public String toString()
	{
		return "id:" + id+"	"+"name:" + name+"	"+"age:" + age+"	"+"";
	}
}
